package com.runvp.common.enums;


/**
 * 门锁状态(open:开启,close:关闭)
 * @author xukk_dp
 */

public enum DoorLockStatus implements BaseEnumInterface {

    OPEN("open", "开启"),
    CLOSE("close", "关闭");

    private final String code;
    private final String desc;
    private String defaulted;

    @Override
    public String getDefaulted() {
        return defaulted;
    }
    DoorLockStatus(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }

    DoorLockStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }
}
